package com.itheima.d12_api_object;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student("张三", 23);
        System.out.println(s1);


        Student s2 =new Student("张三",23);

        System.out.println(s1.equals(s2));
        System.out.println(s1 == s2);
    }
}
